package org.summerframework.component.security.oauth;

/**
 * AccessToken
 *
 * @author 石超
 * @date 2016/3/25
 */
public abstract class AccessToken {
    public AccessToken(String code) {
        this(code, null);
    }

    public AccessToken(String code, String redirectURL) {
        this.code = code;
        this.redirectURL = redirectURL;
    }

    private String redirectURL;

    private String code;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRedirectURL() {
        return redirectURL;
    }

    public void setRedirectURL(String redirectURL) {
        this.redirectURL = redirectURL;
    }
}
